package lunchy.data.classes;

import java.io.Serializable;

import lunchy.data.interfaces.ILunchyMenuItem;
import lunchy.data.interfaces.ILunchyOrderItem;

public class CLunchyOrderItem implements ILunchyOrderItem, Serializable
{
	/**
	 * ХЗ нафига это поле надо...
	 */
	private static final long serialVersionUID = 1L;
	
	private long orderID;
	private Integer itemID;
	private ILunchyMenuItem item;
	private Integer count;
	
	public CLunchyOrderItem()
	{
		
	}
	
	public CLunchyOrderItem(ILunchyMenuItem item, Integer count)
	{
		this.item = item;
		this.count = count;
	}
	
	public Integer getItemID()
	{
		return itemID;
	}

	public void setItemID(Integer itemID)
	{
		this.itemID = itemID;
	}

	public long getOrderID()
	{
		return orderID;
	}

	public void setOrderID(long orderID)
	{
		this.orderID = orderID;
	}
	
	public void setItem(ILunchyMenuItem item)
	{
		this.item = item;
	}
	
	public ILunchyMenuItem getItem()
	{
		return item;
	}

	public void setCount(Integer count)
	{
		this.count = count;
	}
	
	public Integer getCount()
	{
		return count;
	}
}
